package com.orange.user.service.dubbo;


import com.orange.user.DubboUserService;
import com.orange.user.service.UserService;
import jakarta.annotation.Resource;
import org.apache.dubbo.config.annotation.DubboService;

@DubboService
public class DubboUserServiceImpl implements DubboUserService {

    @Resource
    private UserService userService;

    @Override
    public String queryUserAccountById(Long id) {
        return userService.getById(id).getUserAccount();
    }
}
